#ifndef __UTIL_H__
#define __UTIL_H__

#include <stdio.h>
#include <string.h>
#include <stdlib.h>

#include "gd32f30x.h"

uint8_t Add8_check(uint8_t *puch_msg, uint16_t data_len);
uint16_t ModBus_CRC16(uint8_t *puch_msg, uint16_t data_len);

#endif
